//
//  DBUserStatuse.swift
//  大波微博swift
//
//  Created by 大波 on 16/3/4.
//  Copyright © 2016年 zhaojin. All rights reserved.
//

import UIKit

class DBUserStatuse: NSObject {

    /// 用户昵称
    var screen_name: String?
    
    ///	用户头像地址（中图），50×50像素
    var profile_image_url: String?
    
    /// verified_type 没有认证:-1   认证用户:0  企业认证:2,3,5  达人:220
    var verified_type: Int = -1
    
    /// 会员等级 1-6
    var mbrank: Int = 0
    
    init(dic: [String : AnyObject]) {
        
        super.init()
        
        setValuesForKeysWithDictionary(dic)
    }
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {}
    
    override var description: String {
        
        let keys = ["screen_name", "profile_image_url", "verified_type", "mbrank"]
        
        return "\n\tDBUserStatuse模型数据: \(dictionaryWithValuesForKeys(keys).description)"
    }
}
